package com.imu.chatmodule.LongConnection.handler.nettyService;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.dozermapper.core.Mapper;
import com.imu.chatmodule.LongConnection.handler.ChatHandler;
import com.imu.chatmodule.LongConnection.model.LongConnectionChatDTO;
import io.netty.channel.ChannelHandlerContext;

@FunctionalInterface
public interface IChatHandle {
    void handle(ChannelHandlerContext ctx, LongConnectionChatDTO chatDTO, String senderId) throws JsonProcessingException;
}
